package com.sos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sos.entity.PieData;
import com.sos.entity.po.Doctor;

import java.util.List;

/**
 * @author 港某人
 * @date 2021/3/19 19:38
 */
public interface DoctorMapper extends BaseMapper<Object> {

    Doctor getDoctorByAccount(String account);

    Doctor getDoctorById(String id);

    void updateInfo(Doctor doctor);

    void insert(Doctor doctor);

    List<PieData> getPie1(String doctorId);

    List<PieData> getBar1(String doctorId, String startDate, String endDate);


}
